<template>
  <div class="container">
    <h3>提现详情</h3>
    <p>提现日期：{{}}</p>
  </div>
</template>

<script>
export default {
    name:'record',
    data(){
        return{
            detail:''
        }
    },
    methods:{
        this.$api.getDetail(){
            this.$api.getMoneyList({
                p:'w',
                page:this.page,
                size:this.size,
                api_token:localStorage.api_token
            }).then(res=>{
                this.loading = false;
                this.total = res.data.total;
                this.page = this.page+1;
                if(this.page==1){
                    this.list = res.data.list;
                }else{

                    this.list = [...this.list,...res.data.list];
                }
                this.finished = this.list.length==this.total;
            })
        }
    }
}
</script>

<style scoped>
.container{
    width:100%;
    min-height:100vh;
    background: #fff;
}
.item{
    padding:20px 15px;
    color:#333;
    font-size:14px;
    border-bottom:1px solid #f5f5f5;
    display: flex;
}
.item .moneys{
    color:#cc1c24
}
.item:last-child{
    border-color:transparent;
}
.title{
    font-size:16px;
    font-weight: bold;
}
.item span{
    flex:1;
    text-align: center;
}
.red{
    color:#cc1c24;
}
.green{
    color:green;
}
</style>